import request from "@/utils/request";

export interface OOSConfig {
  accessKeyId: String;
  accessKeySecret: String;
  bucketName: String;
  endPoint: String;
  expiration: String;
  securityToken: String;
}

// 获取阿里OSS
export const fetchOSSConfig = () => {
  return request({
    url: "/kukeopen/oss/stsToken",
    method: "post",
  });
};
